<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/fixed.css">
<body>
<nav class="navbar navbar-inverse" >
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">进销存管理系统</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      
      
      <ul class="nav navbar-nav navbar-right">
        <li data-toggle="modal" data-target="#logModal"><a href="#">登录</a></li>
        <li data-toggle="modal" data-target="#regModal"><a href="#">注册</a></li>

      </ul>

      <ul class="nav navbar-nav navbar-right login-success hidden">
        <li ><a href="#"></a></li>
        <li ><a href="javascript:void(0)" class="logout">注销</a></li>

      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<div class="row">
  <div class="col-md-10 col-md-push-2">
  		<div>

      <!-- Nav tabs -->
      <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">出库记录</a></li>
        <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">商品出库</a></li>
      </ul>

      <!-- Tab panes -->
      <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="home">
          <table class="table table-bordered table-striped">
              <thead>
                  <tr>
                    <th>编号</th>
                    <th>商品名称</th>
                    <th>商品分类</th>
                    <th>出库数量</th>
                    <th>出库日期</th>
                    <th>编辑</th>
                    <th>删除</th>
                  </tr>
                  
                </thead>
                <tbody class="table-add">
                  
                </tbody>
          </table>
        
          <ul class="pagination">
      <li>
        <a href="#" aria-label="Previous">
          <span aria-hidden="true">&laquo;</span>
        </a>
      </li>
      <li class="active"><a href="#">1</a></li>
      <li><a href="#">2</a></li>
      <li><a href="#">3</a></li>
      <li><a href="#">4</a></li>
      <li><a href="#">5</a></li>
      <li>
        <a href="#" aria-label="Next">
          <span aria-hidden="true">&raquo;</span>
        </a>
      </li>
    </ul>
        </div>
        <div role="tabpanel" class="tab-pane" id="profile">
            <form class="form-add form-horizontal">
              <div class="form-group">
                  <label for="inputEmail3" class="col-sm-2 control-label">商品编号</label>
                  <div class="col-sm-5">
                    <input type="text" class="form-control" id="itemhao" name="hao" placeholder="商品编号">
                  </div>
                </div>

                <div class="form-group">
                  <label for="inputEmail3" class="col-sm-2 control-label">商品名称</label>
                  <div class="col-sm-5">
                    <input type="text" class="form-control" id="itemname" name="name" placeholder="商品名称">
                  </div>
                </div>

                  <div class="form-group">
                  <label for="inputPassword3" class="col-sm-2 control-label">商品分类</label>
                  <div class="col-sm-5">
                    <select class="form-control" id="itemfen" name="style" placeholder="商品分类">
                        <option>肉类</option>
                        <option>蔬菜</option>
                        <option>海鲜</option>
                        <option>水果</option>
                        <option>熟食</option>
                    </select>
                  </div>
                </div>  
                
                <div class="form-group">
                  <label for="inputEmail3" class="col-sm-2 control-label">商品数量</label>
                  <div class="col-sm-5">
                    <input type="text" class="form-control" id="itemnumber" name="onum" placeholder="商品数量">
                  </div>
                </div>
                
                <div class="form-group">
                  <div class="col-sm-offset-2 col-sm-5">
                    <button type="button" class="btn btn-success btn-add">添加</button>
                  </div>
                </div>
                
            </form>
        </div>
        
      </div>
      

 
    </div>
  </div>


  <div class="col-md-2 col-md-pull-10">
  	<div class="left" style="width:190px;">
		 <div class="list-group">
			  <button type="button" class="list-group-item "><a href="#">系统菜单</a></button>
			  <button type="button" class="list-group-item"><a href="#">分类管理</a></button>
			  <button type="button" class="list-group-item"><a href="/html/kuncun.html">库存管理</a></button>
			  <button type="button" class="list-group-item" ><a href="/html/rukun.html">入库管理</a></button>
			  <button type="button" class="list-group-item"><a href="#">预警信息设置</a></button>
			  <button type="button" class="list-group-item"><a href="/html/chuku.html">出库管理</a></button>
			  <button type="button" class="list-group-item"><a href="#">用户管理</a></button>
			  <button type="button" class="list-group-item"><a href="#">修改密码</a></button>
		</div>
	</div>
  </div>
</div>


<!--修改模态框Modal -->
<div class="modal fade" id="tian" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="loginModalLabel">编辑商品</h4>
      </div>
      <div class="modal-body">
        <form class="form-product">

          <div class="form-group hidden">
          <label for="exampleInputFile"></label>
          <input type="text" id="id1" name="_id" class="form-control">
        </div>

        <div class="form-group">
          <label for="exampleInputPassword1">商品编号</label>
          <input type="text" class="form-control" id="bian" name="hao" placeholder="库存编号">
        </div>
         <div class="form-group">
          <label for="exampleInputPassword1">商品名称</label>
          <input type="text" class="form-control" id="productname" name="name" placeholder="商品名称">
        </div>
         <div class="form-group">
          <label for="exampleInputPassword1">商品分类</label>
          <select type="text" class="form-control" id="productstyle" name="style" placeholder="商品分类">
                        <option>肉类</option>
                        <option>蔬菜</option>
                        <option>海鲜</option>
                        <option>水果</option>
                        <option>熟食</option>
          </select>
        </div>
         <div class="form-group">
          <label for="exampleInputPassword1">出库数量</label>
          <input type="text" class="form-control" id="productnum" name="number" placeholder="商品数量">
        </div>
        
        
      </form>


      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary btn-change">修改</button>
      </div>
    </div>
  </div>
</div>


<script src="/lib/jquery/jquery-1.12.4.min.js"></script>
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
<script src="/lib/ejs/ejs.min.js"></script>
<script src="/js/chukun.js"></script>
</body>
</html>